package testJdk.commonUse.enmu;

public enum Family {
    FATHER("jack",35),
    SISTER("lili",8),
    MORHER("alice",33),
    BROTHER("jack",13);

    String name;
    Integer age;

    Family(String name, Integer age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public Integer getAge() {
        return age;
    }
}

class Tester{
    public static void main(String[] args) {
        System.out.println(Family.BROTHER.getName());
    }
}